package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MicroSmartMoHeManagerMapper {
    List<JSONObject> getHelpList(String townNumber, String villageNumber, String beginDate, String endDate, String iDCardNumber, String status);

    JSONObject getHelpListDetail(String applicationSerialNumber);

    List<JSONObject>  getApplyDetailAttachList(String applicationSerialNumber);

    List<JSONObject> getLivelihoodDemandsList(String townNumber, String villageNumber,String Receiver,
                                              String beginDate, String endDate, String status,String ratingStatus,String parentCategorySerialNumber);

    JSONObject getLivelihoodDemandsDetail(String complaintId);

    List<JSONObject> getLivelihoodDemandsDetailAttachList(String complaintId);

    List<JSONObject> getVillagerComplainsList(String townNumber, String villageNumber, String beginDate, String endDate, String replyStatus);

    JSONObject getVillagerComplainsDetail(String complaintId);

    List<JSONObject> getVillagerComplainsDetailAttachList(String complaintId);

    List<JSONObject> getPatrolCheckInList(String iDCardNumber, String beginDate, String endDate, String taskStatus);

    JSONObject getPatrolCheckInDetail(String taskPlanSerialNumber);

    List<JSONObject> getPatrolResultMainGridList(String taskPlanSerialNumber);

    List<JSONObject> getPatrolResultDetailGridList(String resultMainSerialNumber);

    List<JSONObject> getMyPatrolBorderList(String iDCardNumber, String beginDate, String endDate,String status);

    JSONObject getMyPatrolBorderDetail(String taskPlanSerialNumber);

    List<JSONObject> getMyPatrolBorderResultMain(String taskPlanSerialNumber);

    List<JSONObject> getMyPatrolBorderResultDetail(String resultMainSerialNumber);

    List<JSONObject> getMyPatrolBorderResultCoord(String taskPlanSerialNumber);

    List<JSONObject> getMyPatrolBorderResultCoordAttachment(String resultCoordSerialNumber);

    List<JSONObject> getComplaintsCategoriesFirstLevel(String iDCardNumber);

    List<JSONObject> genFirstComplaintCategories(String childCategoryId);

    List<JSONObject> getDeviceEnvironmentInformation(String iDCardNumber, String townNumber, String villageNumber);

    List<JSONObject> getGarbageEnvironmentInformation(String iDCardNumber, String townNumber, String villageNumber);

    JSONObject getGarbageEnvironmentInformationDetail(String equipmentTaskDetailSerialNumber);

    List<JSONObject> getHelpListDetailReplyList(String applicationSerialNumber);
    List<JSONObject> getHelpListDetailReplyAttachList(String applicationReplySerialNumber);

}
